import {
  Component, OnInit, ViewEncapsulation, ChangeDetectionStrategy, Input, EventEmitter,
  Output
} from '@angular/core';
import {Router} from "@angular/router";

@Component({
  selector: 'student-item',
  templateUrl: './student-item.component.html',
  styleUrls: ['./student-item.component.scss'],
  encapsulation: ViewEncapsulation.None
})
export class StudentItemComponent implements OnInit {
  @Input() student;
  @Input() showRemarkCount;
  @Output() clicked = new EventEmitter();
  constructor() {
  }

  goToTarget() {
    this.clicked.emit();
  }
  ngOnInit() {
  }

}
